PBGetVolMountInfo
volume into the buffer
pb is a pointer to a IOParam structure.The relevant fields are as follows:
Æ ioCompletion ProcPtr 4 12 Completion routine address (if async =TRUE) ¨ ioResult short 2 16 Error Code (0=no error, 1=not done yet)
Æ ioVRefNum short 2 22 Volume or working directory reference
Æ ioBuffer Ptr 4 32 Pointer to mounting information noErr (0) No error
nsvErr (-35) Volume not found
paramErr (-50) Parameter error
extFSErr (-58) External file system error; typically, function is
not available for that volume
volume into the buffer pointed to by the ioBuffer field. The mounting
information for an AppleShare volume is stored as an AFP mounting record.
The length of the buffer is specified by the value pointed to by the ioBuffer
passwords from the user and fills in the record before attempting to mount
the remote volume.